package com.base.user.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.base.user.entity.Administrator;

@Component("administratorDao")
public interface AdministratorDao
{
	
	void save(Administrator administrator);
	
	void  delete(long id);
	
	void update(Administrator amdin);
	
	Administrator get(long id);
		
	int count(Map<String, Object> map);
	
	List<Long> query(Map<String, Object> map);
	
}
